{% extends "learning_logs/base.html" %}

{% block content %}
<p>
	<a href="{% url 'learning_logs:topic' topic.id %}">{{ topic }}</a>
</p>

<p>Edit item:</p>
<form action="{% url 'learning_logs:edit_item' item.id %}" method="post">
	{% csrf_token %}
	{{ form.as_p }}
	<button name="submit">Save Item</button>
</form>


{% endblock content %}